package com.itheima.hashSet;

import com.itheima.domain.Student;

public class Demo02 {

    public static void main(String[] args) {

        Student student = new Student("坤坤", 26);
        Student student2 = new Student("坤坤", 26);

        System.out.println(student.hashCode());
        System.out.println(student2.hashCode());

        System.out.println(student.equals(student2));

    }
}
